typedef int (__stdcall *T_sensorInit)();
typedef int (__stdcall *T_sensorFree)();
typedef void *(__stdcall *T_sensorOpen)(int index);
typedef int (__stdcall *T_sensorClose)(void *handle);
typedef int (__stdcall *T_sensorGetCount)();
typedef int (__stdcall *T_sensorGetVersion)(char *version, int len);
typedef int (__stdcall *T_sensorCapture)(void *handle, unsigned char *imageBuffer, int imageBufferSize);
typedef int (__stdcall *T_sensorGetParameter)(void *handle, int paramCode);
typedef int (__stdcall *T_sensorSetParameter)(void *handle, int paramCode, int paramValue);
typedef int (__stdcall *T_sensorGetParameterEx)(void *handle, int paramCode, char *paramValue, int *paramLen);
typedef int (__stdcall *T_sensorSetParameterEx)(void *handle, int paramCode, char *paramValue, int paramLen);

T_sensorInit sensorInit;
T_sensorFree sensorFree;
T_sensorOpen sensorOpen;
T_sensorClose sensorClose;
T_sensorGetCount sensorGetCount;
T_sensorGetVersion sensorGetVersion;
T_sensorCapture sensorCapture;
T_sensorGetParameter sensorGetParameter;
T_sensorSetParameter sensorSetParameter;
T_sensorGetParameterEx sensorGetParameterEx;
T_sensorSetParameterEx sensorSetParameterEx;